package org.gp.core.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author LuoLiang
 * @since 2017-01-24
 */
@Data
public class Hobby extends Model<Hobby> {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Integer id;

    /**
     * 兴趣字符串
     */
    @TableField(value = "HOBBY_STR")
    private String hobbyStr;

    /**
     * 用户ID
     */
    @TableField(value = "USER_ID")
    private Integer userId;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
